<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title></title>
    <link href="../../assets/lib/layui/css/layui.css" rel="stylesheet" />
    <link href="../../assets/lib/winui/css/winui.css" rel="stylesheet" />
</head>
<body>
    <div style="margin:0 auto;padding:20px;">
        <form class="layui-form" action="" id="showForm" autocomplete="off">

        </form>
    </div>

    <script type="text/x-handlebars-template" id="showBaseTemplate">
        {{#bean}}
        <div class="layui-form-item layui-col-xs12">
            <span class="hr-title">基础信息</span><hr>
        </div>
        <div class="layui-form-item layui-col-xs12">
            <label class="layui-form-label">标题：</label>
            <div class="layui-input-block ver-center">
                {{title}}
            </div>
        </div>
        <div class="layui-form-item layui-col-xs6">
            <label class="layui-form-label">属性：</label>
            <div class="layui-input-block ver-center">
                {{code}}
            </div>
        </div>
        <div class="layui-form-item layui-col-xs6">
            <label class="layui-form-label">编辑器类型：</label>
            <div class="layui-input-block ver-center" id="editorType">

            </div>
        </div>
        <div class="layui-form-item layui-col-xs12">
            <span class="hr-title">属性值信息</span><hr>
        </div>
        <div class="layui-form-item layui-col-xs12">
            <label class="layui-form-label">是否可选：</label>
            <div class="layui-input-block ver-center" id="optional">

            </div>
        </div>
        <div class="layui-form-item layui-col-xs12" style="display: none" id="canNotChoose">
            <label class="layui-form-label">默认值：</label>
            <div class="layui-input-block ver-center">
                {{defaultValue}}
            </div>
        </div>
        <div class="layui-form-item layui-col-xs12" style="display: none" id="canChoose">
            <label class="layui-form-label">属性值选项：</label>
            <div class="layui-input-block">
                <table class="layui-table">
                    <thead>
                    <tr>
                        <th style="width: 150px;">标题</th>
                        <th style="width: 150px;">属性值</th>
                        <th style="width: 200px;">是否默认</th>
                    </tr>
                    </thead>
                    <tbody id="useTable" class="insurance-table">
                    </tbody>
                </table>
            </div>
        </div>
        {{/bean}}
    </script>

    <!-- usetableTemplate -->
    <script type="text/x-handlebars-template" id="usetableTemplate">
        <tr trcusid="{{trId}}">
            <td id="{{title}}"></td>
            <td id="{{value}}"></td>
            <td id="{{defaultChoose}}"></td>
        </tr>
    </script>

    <script src="../../assets/lib/layui/layui.js"></script>
    <script src="../../assets/lib/layui/custom.js"></script>
    <script src="../../assets/report/js/reportCustom.js"></script>
    <script type="text/javascript">
        layui.config({base: '../../js/reportProperty/'}).use('reportPropertyDetails');
    </script>
</body>
</html>